//
//  MCTextAutoFillService.h
//  MirkoLibTest
//
//  Created by Mirko on 2017/3/21.
//  Copyright © 2017年 Mirko. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@protocol MCTextAutoFillDelegate <NSObject>
/*
 从上到下的顺序
 */
-(NSArray *) autoFillData:(UIViewController *) controller;

@end


@interface MCTextAutoFillService : NSObject

-(void) addAutoFillItem:(UIViewController *) controller rootView:(UIView *) view;
-(void) addAutoFillItem:(UIViewController *) controller tablevView:(UITableView *) view;
-(void) removeAutoFillItem:(UIViewController *) controller;

-(void) setValue:(NSString *) string index:(NSInteger) viewIdx controller:(UIViewController *) controller;

@end
